<html data-layout-decorator="layout/main" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro" xmlns:th="http://www.thymeleaf.org">
<div data-layout-fragment="content">
    <!-- 表格工具栏 -->
    <form class="layui-form toolbar">
        <div class="layui-form-item">
            <div class="layui-inline">
                <div class="layui-input-inline">
                    <input type="text" name="title" placeholder="请输入模块标题" autocomplete="off" class="layui-input">
                </div>
            </div>
            <!-- 业务类型下拉单选 -->
            <div class="layui-inline">
                <div class="layui-input-inline">
                    <!-- 下拉单选 -->
                    <select name='businessType' id='businessType' lay-verify='' lay-search='' lay-filter='businessType'>
                        <option value=''>【请选择业务类型】</option>
                        <option th:each="item:${businessType}" th:text="${item.value}" th:value="${item.key}"></option>
                    </select>
                </div>
            </div>
            <!-- 操作状态下拉单选 -->
            <div class="layui-inline">
                <div class="layui-input-inline">
                    <!-- 下拉单选 -->
                    <select name='status' id='status' lay-verify='' lay-search='' lay-filter='status'>
                        <option value=''>【请选择操作状态】</option>
                        <option th:each="item:${status}" th:value="${item.key}" th:text="${item.value}">正常</option>
                    </select>
                </div>
            </div>
            <div class="layui-inline">
                <div class="layui-input-inline" style="width: auto;">
                    <button class="layui-btn" lay-submit="" lay-filter="searchForm" id="search"><i class="layui-icon">&#xe615;</i>查询</button>
                    <a shiro:hasPermission="operlog:batchDelete" href="javascript:" class="layui-btn btnOption layui-btn-danger layui-btn-small btnBatchDrop" id="batchDrop" data-param="[]" lay-event="batchDrop"><i class="layui-icon layui-icon-delete"></i>批量删除</a>
                </div>
            </div>
        </div>
    </form>

    <!-- 数据表格 -->
    <table class="layui-hide" id="tableList" lay-filter="tableList"></table>

    <!-- 表格操作列 -->
    <script type="text/html" id="toolBar">
        <a shiro:hasPermission="operlog:delete" class="layui-btn layui-btn-danger layui-btn-xs btnDel" lay-event="del" title="删除"><i class="layui-icon">&#xe630;</i>删除</a>
    </script>

</div>
</html>